package com.goldcn.user.dao;

import com.goldcn.user.model.WechatAuth;
import org.apache.ibatis.annotations.Param;

public interface WechatAuthMapper {
    int deleteByPrimaryKey(String bindUserID);

    int insert(WechatAuth record);

    int insertSelective(WechatAuth record);

    WechatAuth selectByPrimaryKey(String bindUserID);

    int updateByPrimaryKeySelective(WechatAuth record);

    int updateByPrimaryKeyWithBLOBs(WechatAuth record);

    int updateByPrimaryKey(WechatAuth record);

    Long getUserByOpenId(@Param(value = "openID") String openID, @Param(value = "ownerID") String ownerID);
}